/*

/**
 * The store used for register module store
 */
Ext.define('appmod.store.resources.menu.AllTree', {
    extend: 'Ext.data.TreeStore',
	model: 'appmod.model.resources.AllMenuTreeModel',
    proxy: {
        type: 'ajax',
        url : '../../data/resource/resources/menu/alltrees.json',
        sorters: [{
            property: 'leaf',
            direction: 'ASC'
        }, {
            property: 'text',
            direction: 'ASC'
        }],
		writer: {
			allowSingle:false,
			type : 'json',
			writeAllFields : true
		},
		api : {
			update : '../../data/resource/resources/menu/update_all.json'
		}		
	}

});
